<ul id="treeview">
<?php
$this->widget('ArrayToList', array(
  'data' => $model->getMenu('', false),
  'parentId' => 0,
  'tag' => 'div',
));
?>
</ul>

<script type="text/javascript">
//Menu tree (parent)
$('#treeview').treeview({
  collapsed: false,
  animated: "medium",
  unique: true
});

//show child
$("#treeview .link").click(function(){
  url = '<?php echo $this->createUrl('newsletterType/menuShowChild'); ?>'
    + '/parentId/' + $(this).attr('ref');

  $('#childs').load(url);
});
</script>